<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
		<meta name="title" content="${news.title}"/>
		<meta name="keywords" content="${news.title}"/>
		<meta name="description" content="${news.title}"/>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>${news.title}</title>
		<link rel="stylesheet" type="text/css" href="${contextPath}/css/styles.css" />
	    <link rel="stylesheet" type="text/css" href="${contextPath}/css/menu.css" media="screen" />
	    <link rel="stylesheet" type="text/css" href="${contextPath}/css/newsPage.css" />
		<script type="text/javascript"
			src="${contextPath}/js/jquery-1.4.min.js"></script>
		<script type="text/javascript" src="${contextPath}/js/inc/jquery.metadata.js"></script>
		<script type="text/javascript" src="${contextPath}/js/inc/jquery.hoverIntent.js"></script>
		<script type="text/javascript" src="${contextPath}/js/inc/mbMenu.js"></script>
		
		<script type="text/javascript">
		  $(function(){
		    $(".myMenu").buildMenu(
		    {
		      template:"${contextPath}/common/menuVoices.html",
		      additionalData:"pippo=1",
		      menuWidth:200,
		      openOnRight:false,
		      menuSelector: ".menuContainer",
		      iconPath:"${contextPath}/images/ico/",
		      hasImages:true,
		      fadeInTime:100,
		      fadeOutTime:300,
		      adjustLeft:2,
		      minZindex:"auto",
		      adjustTop:10,
		      opacity:.95,
		      shadow:false,
		      shadowColor:"#ccc",
		      hoverIntent:0,
		      openOnClick:true,
		      closeOnMouseOut:false,
		      closeAfter:1000,
		      submenuHoverIntent:200
		    });
				    
		  });    
		  $(document).ready(function(){  
		        $('#page_break .num li:first').addClass('on');  
		          
		        $('#page_break .num li').click(function(){  
		            //隐藏所有页内容  
		            $("#page_break div[id^='page_']").hide();  
		                  
		            //显示当前页内容。  
		            if ($(this).hasClass('on')) {  
		                $('#page_break #page_' + $(this).text()).show();              
		            } else {  
		                $('#page_break .num li').removeClass('on');  
		                $(this).addClass('on');  
		                $('#page_break #page_' + $(this).text()).fadeIn('normal');  
		            }  
		        });  
		    });
		</script>
		<script language='JavaScript'>
		<!--
		function doZoom(size){
			document.getElementById('news-content-div').style.fontSize=size+'px'
		}
		function doPrint() {
			bdhtml=window.document.body.innerHTML;
			sprnstr="<!--startprint-->";
			eprnstr="<!--endprint-->";
			prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);
			prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));
			window.document.body.innerHTML=prnhtml;
			document.getElementById('print-news').style.display = "none";
			window.print();
		}
		// -->
		</script>
    </head>
	<body>
	    <#include "/header.ftl">
		<div id="container">
		   <div class="location">
		      <span class="location-tip">当前位置 ：</span><a href="${contextPath}/">首页</a>>
		      <#list newsColumnList as itemId>
		         <#if itemId_index<newsColumnList?size-1>
		         <a href="${contextPath}/news/column/${itemId.id}/${itemId.name}">${itemId.name}</a>
		         </#if>
		         <#if !itemId_has_next>
		          ${itemId.name}>
		         </#if>
		      </#list>
		   </div>
		   <!--startprint-->
		   <div class="news">
			   <div class="news-title">${news.title}</div>
			   <div class="news-subtitle">
			      <div class="news-subtitle-1">
			   时间：${newsCreatedTime} &nbsp;&nbsp;文章来源：${news.source}
			      </div>
			   </div>
			   <div class="news-content" id="news-content-div">
			   ${newsContent}
			   </div>
			   <div id="print-news">
			   <span><a href="#" onclick="javascript:doPrint();">打印本页</a></span><span>【字体：<a href="#" onclick="javascript:doZoom(24);">大</a><a href="#" onclick="javascript:doZoom(16);">中</a><a href="#" onclick="javascript:doZoom(13);">小</a>】</span><span><a href="#" onclick="window.close();">关闭本页</a></span>
			   </div>
		   </div>
		   <!--endprint-->
		</div>
	    <#include "/footer.ftl">
	</body>
</html>
